ifneq ($(debug),y)
CFLAGS += -DNDEBUG
+ifeq ($(verbose),y)
+CFLAGS += -DVERBOSE
+endif
+else
+CFLAGS += -DVERBOSE
endif
ifeq ($(debugger),y)
void __init print_IO_APIC(void)
{
-#ifndef NDEBUG
+#ifdef VERBOSE
int apic, i;
struct IO_APIC_reg_00 reg_00;
struct IO_APIC_reg_01 reg_01;
#include <asm/domain_page.h>
#include <asm/ldt.h>
-#ifndef NDEBUG
+#ifdef VERBOSE
#define MEM_LOG(_f, _a...) \
printk("DOM%u: (file=memory.c, line=%d) " _f "\n", \
current->domain , __LINE__ , ## _a )
}
};
-#ifndef NDEBUG
+#ifdef VERBOSE
int ptwr_debug = 0;
#define PTWR_PRINTK(x) if (ptwr_debug) printk x
#else
#define VERBOSE_INFO(_f, _a...) ((void)0)
#endif
-#ifndef NDEBUG
+#ifdef VERBOSE
#define INFO(_f, _a...) printk( _f, ## _a )
#else
#define INFO(_f, _a...) ((void)0)
#define shadow_ht_extra_size 128 /*128*/
#define shadow_ht_buckets 256 /*256*/
-#ifndef NDEBUG
+#ifdef VERBOSE
#define SH_LOG(_f, _a...) \
printk("DOM%u: (file=shadow.c, line=%d) " _f "\n", \
current->domain , __LINE__ , ## _a )
#define capable(_c) 0
-#ifndef NDEBUG
+#ifdef VERBOSE
#define DPRINTK(_f, _a...) printk("(file=%s, line=%d) " _f, \
__FILE__ , __LINE__ , ## _a )
#else